package talk.Bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by debby on 2018/5/31.
 * 描述:
 */

public class Choice implements Serializable {
    private String question;
    private int value;
    private String answer;
    private List<Option> optionList;

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public List<Option> getOptionList() {
        return optionList;
    }

    public void setOptionList(List<Option> optionList) {
        this.optionList = optionList;
    }

    public static class Option implements Serializable {
        public String content;
        public Boolean isTrue;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Boolean getTrue() {
            return isTrue;
        }

        public void setTrue(Boolean aTrue) {
            isTrue = aTrue;
        }
    }
}
